﻿(function (ns) {
	ns.scm = {};
	ns.scm.project = {
		showProjectInfoUpdateBtn: function (info) {
			$(info).find("a").show();
		},
		hideProjectInfoUpdateBtn: function (info) {
			$(info).find("a").hide();
		}
	};
	ns.scm.branch = {
		getBranchId: function (btn) {
			return $(btn).parents(".scm-branch").attr("branchid");
		},
		openShowDevBranchInfo: function (btn) {
			alert("Comming Soon ...Show Dev Branch Info @ " + ns.scm.branch.getBranchId(btn));
		},
		openShowTestBranchInfo: function (btn) {
			alert("Comming Soon ...Show Test Branch Info @ " + ns.scm.branch.getBranchId(btn));
		},
		openShowSiteConfigs: function (btn) {
			alert("Comming Soon ...Show Test Web Site Configurations @ " + ns.scm.branch.getBranchId(btn));
		},
		blockViewTaskOnMobile: function (task) {
			alert("亲~\r\n由于任务系统不支持手机浏览器查看\r\n请移步PC端查看哦~\r\n任务编号：" + task +"\r\n此提示目前未判断设备来源....");
		}
	}
})(m)